ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / GeometryShader Class / Create Method / Create(Device,Byte[],StreamOutputElement[],Int32[],Int32,ClassLinkage) Method
The device used to create the shader.
The compiled shader bytecode.
An array of StreamOutputElement instances describing the layout of the output buffers.
An array of buffer strides; each stride is the size of an element for that buffer.
The index number of the stream to be sent to the rasterizer stage. Set to NoRasterizedStream if no stream is to be rasterized.
A dynamic class linkage interface.

In This Topic
    Create(Device,Byte[],StreamOutputElement[],Int32[],Int32,ClassLinkage) Method
    In This Topic
    Initializes a new instance of the GeometryShader class.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal device As Device, _
       ByVal shaderBytecode() As System.Byte, _
       ByVal elements() As StreamOutputElement, _
       ByVal bufferedStrides() As System.Integer, _
       ByVal rasterizedStream As System.Integer, _
       Optional ByVal linkage As ClassLinkage _
    ) As GeometryShader
    public static GeometryShader Create( 
       Device device,
       System.byte[] shaderBytecode,
       StreamOutputElement[] elements,
       System.int[] bufferedStrides,
       System.int rasterizedStream,
       ClassLinkage linkage
    )

    Parameters

    device
    The device used to create the shader.
    shaderBytecode
    The compiled shader bytecode.
    elements
    An array of StreamOutputElement instances describing the layout of the output buffers.
    bufferedStrides
    An array of buffer strides; each stride is the size of an element for that buffer.
    rasterizedStream
    The index number of the stream to be sent to the rasterizer stage. Set to NoRasterizedStream if no stream is to be rasterized.
    linkage
    A dynamic class linkage interface.
    See Also